package com.xuln.stock.ashare.controls.tasks.impl;

import java.util.List;
import java.util.Map;

import com.xuln.stock.ashare.controls.tasks.ITask;

public class Task implements ITask {
	private String taskId;
	private List<String> stockCodes;
	private Map<String, String> stockCache;
	private int cycleTime = 5000;

	@Override
	public String getTaskId() {
		return this.taskId;
	}

	@Override
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	@Override
	public List<String> getAllStockCodes() {
		return this.stockCodes;
	}

	@Override
	public void setStockCodes(List<String> stockCodes) {
		this.stockCodes = stockCodes;
	}

	@Override
	public int getCycleTime() {
		return this.cycleTime;
	}

	@Override
	public void setCycleTime(int cycleTime) {
		this.cycleTime = cycleTime;
	}

}
